package cn.cai.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("课程的大致信息")
public class CoursePublicVo {
    @ApiModelProperty("课程信息id")
    private String id;
    @ApiModelProperty("课程标题")
    private String title;
    @ApiModelProperty("课程封面")
    private String cover;
    @ApiModelProperty("课程数")
    private Integer lessonNum;
    @ApiModelProperty("课程所属的一级分类")
    private String subjectLevelOne;
    @ApiModelProperty("课程的二级分类")
    private String subjectLevelTwo;
    @ApiModelProperty("课程的讲师")
    private String teacherName;
    @ApiModelProperty("课程的价格")
    private String price;   //只用于显示

}
